package cz.kfad.ofrss.model;

public class Category {

    private int id;

    private String name;

    private String key;

    private int totalFeeds;

    private int unreadFeeds;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTotalFeeds() {
        return totalFeeds;
    }

    public void setTotalFeeds(int totalFeeds) {
        this.totalFeeds = totalFeeds;
    }


    public Category() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUnreadFeeds() {
        return unreadFeeds;
    }

    public void setUnreadFeeds(int unreadFeeds) {
        this.unreadFeeds = unreadFeeds;
    }

    public Category(int id, String name, int totalFeeds, int unreadFeeds, String key) {
        this.id = id;
        this.name = name;
        this.key = key;
        this.totalFeeds = totalFeeds;
        this.unreadFeeds = unreadFeeds;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", key='" + key + '\'' +
                ", totalFeeds=" + totalFeeds +
                ", unreadFeeds=" + unreadFeeds +
                '}';
    }
}
